package org.example.query;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
    封装接收前端的分页参数
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageParams<T> {

    private Integer pageNum = 1;
    private Integer pageSize = 5;

    //搜索条件
    private T params;

}
